package com.bytedance.article.common.a.b;

import android.text.TextUtils;

import java.util.concurrent.ConcurrentHashMap;

import inline.ScreenshotListener;

public final class c {
    private static ConcurrentHashMap a;

    static {
        a = new ConcurrentHashMap();
    }

    public static ScreenshotListener a(String arg2) throws IllegalArgumentException {
        if (TextUtils.isEmpty(arg2)) {
            throw new IllegalArgumentException("type must not be null");
        }

        return (ScreenshotListener) a.get(arg2);
    }
}

